def fuc1():
    yield 2
    yield from func2()
    yield 4

def func2():
    yield 3
    yield 33

if __name__ == '__main__':
    for data in  fuc1():
        print(data)